package com.pd.backend.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 新增货物类型请求类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "货物类型DTO实体")
public class PdGoodsTypeDto {
    @ApiModelProperty(value = "货物类型Id")
    private String id;
    /**
     * 货物类型名称
     */
    @ApiModelProperty(value ="货物类型名称",required = true )
    private String name;
    /**
     * 默认重量
     */
    @ApiModelProperty(value ="默认重量",required = true )
    private Double defaultWeight;
    /**
     * 默认体积
     */
    @ApiModelProperty(value = "默认体积",required = true)
    private Double defaultVolume;
    /**
     * 说明
     */
    @ApiModelProperty(value = "说明")
    private String remark;
    /**
     * 车辆类型id
     */
    @ApiModelProperty(value = "车辆类型id",required = true)
    private List<String> truckTypeIds;


}